{{extend name="index/index" /}}

{{block name="title"}}
<body data-type="widgets">
<script src="/static/admin/js/theme.js"></script>
<div class="am-g tpl-g">
    {{/block}}


    {{block name="content"}}


<div class="tpl-content-wrapper">


    <div class="row-content am-cf">
        <div class="row">
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                <div class="widget am-cf">
                    <div class="widget-head am-cf">
                        <div class="widget-title am-fl">添加角色</div>
                        <div class="widget-function am-fr">
                            <a href="javascript:;" class="am-icon-cog"></a>
                        </div>
                    </div>
                    <div class="widget-body am-fr">

                        <form class="am-form tpl-form-border-form tpl-form-border-br" action="{{:url('admin/CategoryController/save')}}" method="post">

                            <input type="hidden" name="id" value="{{$id}}">
                            {{volist name="list" id="vo"}}
                            <input type="hidden" name="pid" value="{{$list.pid}}">
                            <input type="hidden" name="path" value="{{$list.path}}">
                            {{/volist}}



                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">添加分类名称<span class="tpl-form-line-small-title"></span></label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" name="name" value="" placeholder="请输入分类名">
                                </div>
                            </div>




                            <div class="am-form-group">
                                <div class="am-u-sm-9 am-u-sm-push-3">
                                    <button  class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
    {{/block}}